package com.droowa.model.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.droowa.domain.OrderInfo;
import com.droowa.domain.OrderList;
import com.droowa.domain.OrderProduct;
import com.droowa.model.dao.OrderDAO;
@Service
public interface OrderService {

	public abstract int joinOrderInfo(OrderInfo orderInfo) throws SQLException;
	
	
	public abstract int joinOrderProduct(OrderProduct orderProduct) throws SQLException;
	
	public abstract OrderProduct getOrderProduct(String orderProductId) throws SQLException;
	
	public abstract List<OrderProduct> getOrderListById(String custId) throws SQLException;
	
	public abstract int modifyOrderProductResult(String completeId) throws SQLException;
	
	public abstract int modifyOrderProductResultFalse(String completeId) throws SQLException;

	public abstract int removeOrderProductById(String custId, String completeId) throws SQLException;
	
	
	public abstract int joinOrderList(OrderList orderList) throws SQLException;
	
	public abstract List<OrderList> getOrderListByCustId(String custId) throws SQLException;
}
